//package vip.xiaonuo.biz.modular.lancerShopCart.controller;
//
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
//import com.github.xiaoymin.knife4j.annotations.ApiSupport;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import vip.xiaonuo.biz.modular.pojo.domain.BizShopCartItem;
//import vip.xiaonuo.biz.modular.pojo.dto.common.CommonDetailDTO;
//import vip.xiaonuo.biz.modular.pojo.dto.edit.ShopCartItemEditDTO;
//import vip.xiaonuo.biz.modular.lancerShopCart.service.BizShopCartItemService;
//import vip.xiaonuo.biz.modular.pojo.dto.page.ShopCartItemPageDTO;
//import vip.xiaonuo.common.pojo.CommonResult;
//
//import javax.validation.Valid;
//
//@Api(tags = "购物车管理(B端)")
//@ApiSupport(author = "LANCER_TEAM", order = 1)
//@Validated
//
//@RestController("userBusShopCartItemController")
//@RequestMapping("/biz/business/shopCartItem")
//public class BusShopCartItemController {
//    @Autowired
//    private BizShopCartItemService ShopCartItemService;
//    @ApiOperationSupport(order = 1)
//    @ApiOperation("购物车分页")
//    @GetMapping("page")
//    public CommonResult<Page<BizShopCartItem>> page(@Valid ShopCartItemPageDTO dto) {
//        Page<BizShopCartItem> res = ShopCartItemService.pageLAdmin(dto);
//        return CommonResult.data(res);
//    }
//    @ApiOperationSupport(order = 2)
//    @ApiOperation("购物车详情查询")
//    @GetMapping("/detail")
//    public CommonResult<BizShopCartItem> detail(@Valid CommonDetailDTO dto) {
//        BizShopCartItem res = ShopCartItemService.detail(dto);
//        return CommonResult.data(res);
//    }
//
//    @ApiOperationSupport(order = 5)
//    @ApiOperation("购物车编辑")
//    @PostMapping("/edit")
//    public CommonResult<String> edit(@Valid ShopCartItemEditDTO dto) {
//        ShopCartItemService.edit(dto);
//        return CommonResult.ok();
//    }
//}